Assignment: Set C Q.1 Solution

A web application that takes name and age from an HTML page. If the age is less than 18, it should send a page with “Hello name, you are not authorized to visit the site” echo("$url is not a valid URL");message, where name should be replaced with the entered name. Otherwise, it should send a “Welcome name to this site” message.

HTMl Form


        
    
        

PHP SCRIPT